[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
twCalculator( nT, nL, cColor, cwSType, cwFType, lOKPaste )
----------------------------------------------------------------------------
Display a calculator with memory and optionally allow pasting the
result into a get.
The calculator performs the usual addition, subtraction,
multiplication, division as well as square root, percent and
additive inverse of an entry.
The memory allows the four basic operations to be performed on its
contents as well as clearing and recalling to the current entry.
This calculator may be moved about the screen with the cursor
keys. When exited, it will appear again where it was on exit.
Also, both the current total and the memory are retained for the
next use.
The operational registers and memory must be cleared separately.
Arguments:
nT, nL - 'N' Relative screen coordinates to begin the calculator
display. These will be updated if you move it.
cColor - 'C' Clipper colour string. YOU MUST PASS A COMPLETE
string, eg., "w/b,gr+/r,,,n/w" The default is the
current window colour.
cwSType - 'N' TSDWIN Shadow type. Defaults to the current shadow
type.
cwFType - 'N' TSDWIN Frame type. Defaults to the current frame
type.
lOKPaste - 'L' Logical to allow pasting to gets.
Return:
NIL
Example:
twCalculator()
See Also:
twCalcInit()
twCallCalc()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson